package lab02.test07;

/**
 * Created by admin on 2017/10/19.
 */
public class Test {
    public static void main(String[] args) {
       //测试person类
        Person chen=new Person();
        chen.name="chenmingzhen";
        chen.age=20;
        chen.idcard="1234567865423";
        System.out.println(chen.getString());
//测试student类
        Student zhen=new Student();
        zhen.name="zhen";
        zhen.age=20;
        zhen.idcard="87965456342345";
        zhen.sno="786542";
        zhen.university="sctu";
        System.out.println(zhen.getString());
    }
}
